package com.ssm.stu.service;


import com.ssm.stu.pojo.Major;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface MajorService {

    boolean insertMajor(Major major);

    boolean updateMajor(Major major);

    boolean deleteMajor(String  id);

    Major selectMajorById(String  id);

    List<Major> selectAllMajor();
}
